<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			var phoneReg=/^1[3-9]\d{9}$/;
			var n=window.prompt("请输入手机号：");
			alert(phoneReg.test(n));
			
		</script>
	</head>
	<body>
	</body>
</html>
